//
//  HMDocListCell.m
//  HomeView
//
//  Created by manman on 16/9/9.
//  Copyright © 2016年 manman. All rights reserved.
//

#import "HMDocListCell.h"
@interface HMDocListCell()
@property (weak, nonatomic) IBOutlet UIImageView *iconImage;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *deslabel;
@property (weak, nonatomic) IBOutlet UILabel *hospitalName;



@end
@implementation HMDocListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setModel:(HMDocModel *)model
{
    _model = model;
    self.iconImage.image = [UIImage imageNamed:model.icon];
    self.nameLabel.text = model.name;
    self.deslabel.text = model.desc;
    self.hospitalName.text = model.hospital;
    


}

@end
